package model.pojo;

import java.io.Serializable;
import java.util.Date;

public class DocumentDetail implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	String id;
	String title;
	String description;
	String content;
	private String iDEmployee;
	private String iDGroupApprove;
	
	private Date timecreate;	
	private String location;
	private String employeePerforment;
	private Date dateTrip;
	private String totalTime;
	private String comment;
	
	private float totalAmount;
	
	public DocumentDetail() {
		// TODO Auto-generated constructor stub
	}
	
	public DocumentDetail(String id, String title, String description, String content) {
		super();
		this.id = id;
		this.title = title;
		this.description = description;
		this.content = content;
	}
	
	
	
	public DocumentDetail(String id, String title, String description, String content,
			String iDEmployee, String iDGroupApprove, Date timecreate) {
		super();
		this.id = id;
		this.title = title;
		this.description = description;
		this.content = content;
		this.iDEmployee = iDEmployee;
		this.iDGroupApprove = iDGroupApprove;
		this.timecreate = timecreate;
	}
	
	//form 12
	public DocumentDetail(Date timecreate, String location,
			String employeePerforment, Date dateTrip, String totalTime) {
		super();
		this.timecreate = timecreate;
		this.location = location;
		this.employeePerforment = employeePerforment;
		this.dateTrip = dateTrip;
		this.totalTime = totalTime;
	}
	
	//form 15
	public DocumentDetail(Date timecreate, String location,
			String employeePerforment, Date dateTrip, String totalTime,String comment,float totalAmount) {
		super();
		this.timecreate = timecreate;
		this.location = location;
		this.employeePerforment = employeePerforment;
		this.dateTrip = dateTrip;
		this.totalTime = totalTime;
		this.comment=comment;
		this.totalAmount=totalAmount;
	}
	
	//form 13
	public DocumentDetail(Date purcharDate,String comment,float totalAmount) {
		super();
		this.dateTrip = purcharDate;
		this.comment=comment;
		this.totalAmount=totalAmount;
	}
	
	
	public String getId() {
		return id;
	}
	

	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	
	
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getiDEmployee() {
		return iDEmployee;
	}

	public void setiDEmployee(String iDEmployee) {
		this.iDEmployee = iDEmployee;
	}
	
	public String getiDGroupApprove() {
		return iDGroupApprove;
	}

	public void setiDGroupApprove(String iDGroupApprove) {
		this.iDGroupApprove = iDGroupApprove;
	}

	public Date getTimecreate() {
		return timecreate;
	}

	public void setTimecreate(Date timecreate) {
		this.timecreate = timecreate;
	}
	
	

	
	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getEmployeePerforment() {
		return employeePerforment;
	}

	public void setEmployeePerforment(String employeePerforment) {
		this.employeePerforment = employeePerforment;
	}

	public Date getDateTrip() {
		return dateTrip;
	}

	public void setDateTrip(Date dateTrip) {
		this.dateTrip = dateTrip;
	}

	public String getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(String totalTime) {
		this.totalTime = totalTime;
	}

	
	
	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public float getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(float totalAmount) {
		this.totalAmount = totalAmount;
	}

	public String toString(){
		return title;
	}
}
